
#include "CDSF_Point.h"


SFPoint SFPointMake(int x, int y){
	SFPoint point;
	
	point.x = x;
	point.y = y;
	
	return point;
}

SFPoint SFPointAdd(SFPoint a, SFPoint b){
	SFPoint point;

	point.x = a.x+b.x;
	point.y = a.y+b.y;

	return point;
}

SFPoint SFPointSub(SFPoint a, SFPoint b){
	SFPoint point;

	point.x = a.x-b.x;
	point.y = a.y-b.y;

	return point;
}

SFPoint SFPointMul(SFPoint a, int x){
	SFPoint point;

	point.x = (a.x)*x;
	point.y = (a.y)*x;

	return point;
}

